<!DOCTYPE html>
<html>
	<head>
		<meta name="layout" content="main">
		<title>GDepot登录</title>
		<script rel="stylesheet" type="text/css" href="${createLinkTo(dir:'js',file:'jquery-2.1.3.min.js')}"></script>
		<link rel="stylesheet" type="text/css" href="${createLinkTo(dir:'css',file:'qa.css')}">
		<link rel="stylesheet" type="text/css" href="${createLinkTo(dir:'css',file:'user.css')}">
	</head>
	<body>
			<div class="c_user_cont">
				<g:form controller="users" action="loginCheck">
					<div class="container mt100 pb150 ">
						<div class="form-group col-md-4 col-md-offset-4">
							<div class="row mt20 ">
								<div class="input-group">
									<span class="input-group-addon" id="basic-addon1">邮箱：</span>
									<input type="text" name="email" class="form-control" placeholder="请输入注册时使用的邮箱" aria-describedby="basic-addon1">
								</div>
							</div>

							<div class="row mt40 ">
								<div class="input-group">
									<span class="input-group-addon" id="basic-addon2">密<em class="ml1em">码：</em></span>
									<input type="password" name="password" class="form-control" placeholder="请输入由数字和字母组成的6-16位密码" aria-describedby="basic-addon2">
								</div>
							</div>

							<p class="error_p c_tac mt20 color_red" >
								<g:if test="${flash.message}">
									<span id="error_sp" class="message" role="status">${flash.message}</span>
								</g:if>
							</p>
							<div class="row mt20">
								<input class="btn btn-primary col-xs-5 col-xs-offset-1" type="submit" value="登录">
								<p class="col-xs-5 col-xs-offset-1">没有账号?&nbsp;<g:link controller="users" action="register">现在注册</g:link></p>
							</div>

						</div>
					</div>
				</g:form>
			</div>
		</div>
	</body>
</html>
